﻿using AnlianCommon.Common.Domains.ProductionManagement;
using AnlianCommon.Common.DTO;
using MediatR;

namespace SheepCommon.API.Crossbreedings
{
    public class CrossbreedingSearchCommand : IRequest<ResultPage<CrossbreedingSearchDto>>
    {
        /// <summary>
        /// 后裔转种日期
        /// </summary>
        public DateTime? StartCrossbreedingTime { get; set; }
        /// <summary>
        /// 后裔转种日期
        /// </summary>
        public DateTime? EndCrossbreedingTime { get; set; }
        /// <summary>
        /// 育成羊耳号
        /// </summary>
        public string? BredSheepNo { get; set; }
        /// <summary>
        /// 页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize { get; set; }
    }
}
